// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import { createApp} from 'vue'
import App from './App'
import router from './router'
import installElementPlus from './plugins/element'
import './assets/css/global.css'
import axios from'axios'

//设置请求的根路径
axios.defaults.baseURL = "http://localhost:8082/"

const app = createApp(App)
//挂载http
app.config.globalProperties.$http=axios
installElementPlus(app)
app.use(router).mount('#app')